Hot swap controller with multiple current limits

ABSTRACT

A hot swap controller circuit includes a comparator and current control circuitry. The comparator is configured to compare voltage across a power transistor controlled by the hot swap controller circuit to a predetermined threshold voltage. The current control circuitry is coupled to the comparator. The current control circuitry is configured to limit current through the power transistor to no higher than a predetermined high current based on the voltage across the transistor being less than the predetermined threshold voltage. The current control circuitry is also configured to limit the current through the transistor to be no higher than a predetermined low current based on the voltage across the transistor being greater than the predetermined threshold voltage. The predetermined high current is greater than the predetermined low current.

CROSS REFERENCE TO RELATED APPLICATIONS

Under 35 U.S.C. § 120, this continuation application claims benefits of and priority to U.S. patent application Ser. No. 15/719,665 (TI-66822), filed on Sep. 29, 2017, the entirety of which are hereby incorporated herein by reference.

BACKGROUND

In electronic systems, it is often desirable to be able to replace a printed circuit board or other subsystem without disabling power to the system. This process is typically referred to as “hot swapping.” Hot swap systems can be implemented to allow addition or replacement of components in a variety of applications. For example, in computer systems, hot swapping will allow the replacement of a board or the addition of a new board in the system without loss of information in volatile memory in the system, without requiring rebooting the system, etc. In systems such as communication systems and the like, where a plurality of boards of similar function are plugged into a motherboard, boards may be hot swapped or additional boards added without shutting down the system. This allows maintenance and upgrading without interfering with communications or other functions in channels serviced by the remaining boards in the system.

A hot swap controller is a circuit that enables an electronic device to be safely inserted into (and removed from) a connector of a host system (e.g. a computer, a server, a communication device, a storage unit, etc.) while the host system is operational. Hot swap controllers are generally designed to limit inrush current to the electronic device that could damage or cause a malfunction in the electronic device or the host system, thereby enabling safe insertion of the electronic device into the host system or removal of the electronic device from the host system, without interrupting operations of the host system.

SUMMARY

A hot swap controller that improves utilization of the safe operating area of a power transistor is disclosed herein. In one embodiment, an electronic device includes a transistor and a hot swap controller. The transistor is configured to switch power to the electronic device. The hot swap controller is configured to control operation of the transistor. The hot swap controller includes a comparator and current control circuitry. The comparator is configured to compare voltage across the transistor to a predetermined threshold voltage. The current control circuitry is coupled to the comparator. The current control circuitry is configured to limit current through the transistor to no higher than a first predetermined current based on the voltage across the transistor being less than the predetermined threshold voltage. The current control circuitry is also configured to limit the current through the transistor to be no higher than a second predetermined current based on the voltage across the transistor being greater than the predetermined threshold voltage. The first predetermined current is greater than the second predetermined current.

In another embodiment, a hot swap controller circuit includes a comparator and current control circuitry. The comparator is configured to compare voltage across a power transistor controlled by the hot swap controller circuit to a predetermined threshold voltage. The current control circuitry is coupled to the comparator. The current control circuitry is configured to limit current through the power transistor to no higher than a predetermined high current based on the voltage across the transistor being less than the predetermined threshold voltage. The current control circuitry is also configured to limit the current through the transistor to be no higher than a predetermined low current based on the voltage across the transistor being greater than the predetermined threshold voltage. The predetermined high current is greater than the predetermined low current.

In a further embodiment, a method for hot swapping includes comparing voltage across a power transistor to a predetermined threshold voltage. Current through the power transistor is limited to be no higher than a first predetermined current based on the voltage across the power transistor being less than the predetermined threshold voltage. The current through the power transistor is limited to be no higher than a second predetermined current based on the voltage across the power transistor being greater than the predetermined threshold voltage. The first predetermined current is greater than the second predetermined current.

BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of various examples, reference will now be made to the accompanying drawings in which:

FIG. 1 shows a schematic diagram of an electronic device that includes a hot-swap controller that implements dual current limits in accordance with various embodiments;

FIG. 2 shows a graph of performance of a hot-swap controller that implements dual current limits in accordance with various embodiments; and

FIG. 3 shows a flow diagram for a method for controlling current using a hot-swap controller that implements dual current limits in accordance with various embodiments.

DETAILED DESCRIPTION

Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, different companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . .” Also, the term “couple” or “couples” is intended to mean either an indirect or direct wired or wireless connection. Thus, if a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections. The recitation “based on” is intended to mean “based at least in part on.” Therefore, if X is based on Y, X may be a function of Y and any number of other factors.

In hot swap systems that employ a power metal oxide semiconductor field effect transistor (MOSFET), the hot swap controller that drives the MOSFET must ensure that the MOSFET operates within the safe operating area at all times. Many conventional hot swap controllers implement a constant power foldback scheme that limits total MOSFET power dissipation to a constant predetermined value. However, MOSFETs do not have a constant power safe operating area. For example, a MOSFET may operate safely with power of 260 watts for 10 milliseconds with a drain-to-source voltage (V_(ds)) of 70 volts (V), and operate safely with power of 800 watts for 10 milliseconds with a V_(ds) of 20 V. Accordingly, constant power foldback significantly underutilizes the safe operating area of the power MOSFET.

Embodiments of the hot swap controller disclosed herein implement a current control technique that more efficiently utilizes the safe operating area of the MOSFET by providing two levels of current limiting. Embodiments apply a high current limit while V_(ds) is below a predetermined threshold, and apply a lower current limit while V_(ds) is above the predetermined threshold. Embodiments also simplify hot swap controller circuitry by eliminating the need for a Gilbert multiplier.

FIG. 1 shows a schematic diagram of an electronic device 100 that includes a hot-swap controller that implements dual current limits in accordance with various embodiments. The electronic device 100 includes a hot swap control circuit 102, a power transistor 112, a sense resistor 114, a control resistor 116, and a load circuit 118. The hot swap control circuit 102 (also referred to herein as a “hot swap controller”), the power transistor 112, the sense resistor 114, and the control resistor 116 form a hot swapping circuit 104 that switches power to the load circuit 118. A power source, such as a battery or power supply is coupled to the power inputs 120 and 122 to power the hot swap control circuit 102 and the load circuit 118. The load circuit 118 may be any electronic circuit that can be powered via the hot swapping circuit 104.

The hot swap control circuit 102 drives the power transistor 112 to switch power to the load 118. In some embodiments, the power transistor 112 is a power MOSFET (e.g., an n-channel power MOSFET). To protect the power transistor 112 from damage due to overcurrent or excessive power dissipation, the hot swap control circuit 102 ensures that the power transistor 112 operates within its safe operating area. The safe operating area is generally a function of voltage across the transistor 112, current flowing through the transistor 112, and time. FIG. 2 shows a graph of the safe operating area of the power transistor 112. Some embodiments of the power transistor 112 may provide a different safe operating area, and FIG. 2 illustrates an example of the safe operating area of one embodiment of the power transistor 112.

FIG. 2 shows that the power transistor 112 can operate safely for at least 10 milliseconds at about 800 Watts with a drain-to-source voltage of 10 volts or 40 volts, but at only about 260 Watts with a drain-to-source voltage of 72 volts. To apply the safe operating area of the power transistor 112 efficiently, the hot swap control circuit 102 implements multiple (e.g., dual) current limits. The hot swap control circuit 102 limits the current that can flow through the power transistor 112 based on the voltage across the power transistor 112. If the voltage across the power transistor 112 (e.g., drain-source voltage) exceeds a threshold value, then the hot swap control circuit 102 limits the current that may flow through the power transistor 112 to a lower value (i.e., a lower current limit). If the voltage across the power transistor 112 is less than the threshold value, then the hot swap control circuit 102 limits the current that may flow through the power transistor 112 to a higher value (i.e., a higher current limit). In FIG. 2, the threshold is set to about 20 volts. If the voltage across the power transistor is less than 20 volts, then the hot swap control circuit 102 limits the current through the power transistor 112 to no more than about 20 amperes. If the voltage across the power transistor is greater than 20 volts, then the hot swap control circuit 102 limits the current through the power transistor 112 to no more than about 2 amperes. The threshold and current limit values may vary with different implementations of the hot swapping circuit 104.

The hot swap control circuit 102 includes a threshold comparator 106, a selector 108, and a current control amplifier 110. The hot swap control circuit 102 may include additional components that have been omitted from FIG. 1 in the interest of clarity. For example, the hot swap control circuit 102 may include reference voltage generation circuitry to generate the various fixed voltages described herein, timing circuitry to time voltage transients, and various other components. The threshold comparator 106 compares a reference voltage (e.g., 1.5 volts) to the drain voltage of the power transistor 112, as divided by a voltage divider formed by the resistor 124 and the control resistor 116. The threshold setting the voltage at which the hot swap control circuit 102 switches between the lower and higher current limits can be set by selecting the value of the control resistor 116. For example, given a 30 kilo-ohm value for resistor 124 and a 1.5 volt reference voltage, the threshold value of the hot swapping circuit 104 may be computed as:

$\begin{matrix} {V_{Thres} = \frac{1.5V \times \left( {{30\mspace{14mu} k\; \Omega} + R_{D}} \right)}{30\mspace{14mu} k\; \Omega}} & (1) \end{matrix}$

where R_(D) is the resistance of the control resistor 116. Thus, if the control resistor 116 has a value of 270 kilo-ohms, then the threshold voltage will be 15 volts using equation (1).

The output of the comparator 106 selects application of the higher or lower current limits. Input voltages of the selector 108, in conjunction with the resistance of the sense resistor 114, set the higher and lower current limits. For example, in the hot swap control circuit 102, the selector 108 routes 3 millivolts to the current control amplifier 110 if the lower current limit is selected and routes 25 millivolts to the current control amplifier 110 if the lower current limit is selected.

The selector 108 and the current control amplifier 110 are part of current control circuitry that controls the maximum current flowing through the power transistor 112. The current control amplifier 110 compares the voltage across the sense resistor 114 to the voltage provided by the selector 108 to determine whether the current through the power transistor 112 exceeds the applied current limit. If the voltage across the sense resistor 114 (which represents the current flowing through the sense resistor 114) exceeds the voltage output of the selector 108, then the current control amplifier 110 reduces the voltage applied to the gate terminal of the power transistor 112 to regulate the current flowing through the power transistor 112, and ensure that the current does not exceed the applied current limit.

In the hot swapping circuit 104, the values of the higher and lower current limits can be set by selection of the value of the sense resistor 114. In the embodiment of the hot swap control circuit 102 shown in FIG. 1, wherein 3 millivolts is applied to the input of the selector 108 and routed to the current control amplifier 110 based on the voltage across the power transistor 112 exceeding the threshold set by the comparator 106, the lower current limit is:

$\begin{matrix} {I_{CLL} = \frac{3{mv}}{R_{SNS}}} & (2) \end{matrix}$

where R_(SNS) is the resistance of the sense resistor 114. Thus, if the sense resistor 114 has a value of 1 milliohm, then the lower current limit will be 3 amperes using equation (2).

Similarly, given the 25 millivolts applied to the input of the selector 108 in the embodiment of FIG. 1, and routed to the current control amplifier 110 based on the voltage across the power transistor 112 not exceeding the threshold set by the comparator 106, the higher current limit is:

$\begin{matrix} {I_{CHL} = {\frac{25{mv}}{R_{SNS}}.}} & (3) \end{matrix}$

Thus, if the sense resistor 114 has a value of 1 milliohm, then the higher current limit will be 25 amperes using equation (3).

Returning to FIG. 2, current limitation by a conventional constant power scheme is shown as curve 204. Because the power transistor 112 does not provide a constant power safe operating area, current limitation by a conventional constant power scheme underutilizes the safe operating area of the power transistor 112. In contrast, the dual current limit technique of the hot swapping circuit 104, shown as curve 202, maximizes the ability of the power transistor 112 to ride through steps or transients in voltage across the power transistor 112, and protects the power transistor 112 when there is a large drop in voltage across the power transistor 112 (e.g., providing power into a short).

FIG. 3 shows a flow diagram for a method 300 for controlling current in a hot-swap controller that implements dual current limits in accordance with various embodiments. Though depicted sequentially as a matter of convenience, at least some of the actions shown can be performed in a different order and/or performed in parallel. Additionally, some embodiments may perform only some of the actions shown.

In block 302, the hot swap control circuit 102 is monitoring the voltage across the power transistor 112. The hot swap control circuit 102 monitors the voltage across the power transistor 112 by comparing the voltage across power transistor 112 to a threshold voltage. Comparison of the voltage across the power transistor 112 to a threshold voltage may be implemented by dividing the voltage across the power transistor 112 by a constant and comparing the divided voltage across the power transistor 112 to a reference voltage.

In block 304, if the voltage across the power transistor 112 does not exceed the threshold voltage, then in block 306, the hot swap control circuit 102 limits the current through the power transistor 112 a first current value. In some embodiments, the first current value may be set as a ratio of a first reference voltage generated in the hot swap control circuit 102 to the resistance of the sense resistor 114.

If, in block 304, the voltage across the power transistor 112 does exceed the threshold voltage, then in block 308, the hot swap control circuit 102 limits the current through the power transistor 112 a second current value. In some embodiments, the second current value may be set as a ratio of a second reference voltage generated in the hot swap control circuit 102 to the resistance of the sense resistor 114. The second reference voltage is lower than the first reference voltage, and the second current value is lower than the first current value.

The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications. 

What is claimed is:
 1. An apparatus comprising: a voltage sensing circuit configured to generate a threshold selection signal based on a sensed voltage across an input and an output of a power transistor; and a current control circuit having a control input coupled to receive the threshold selection signal, and a control output configured to output a control signal to limit a current of the power transistor to: a first current limit when the threshold selection signal indicates a first range of the sensed voltage; and a second current limit the threshold selection signal indicates a second range of the sensed voltage, the second current limit is lower than the first current limit, and the second range of the sensed voltage is higher than the first range of the sensed voltage.
 2. The apparatus of claim 1, wherein the first range of the sensed voltage is less than a reference voltage, and the second range of the sensed voltage is greater than the reference voltage.
 3. The apparatus of claim 1, wherein the sensed voltage is voltage-divided from a voltage between the input and the output of the power transistor.
 4. The apparatus of claim 1, wherein the threshold selection signal includes a first value indicating the first range when the sensed voltage is below a reference voltage, and the threshold selection signal includes a second value indicating the second range when the sensed voltage is above the reference voltage.
 5. The apparatus of claim 1, wherein the voltage sensing circuit includes a comparator having a non-inverting input configured to receive a reference voltage, an inverting input configured to receive the sensed voltage, and the output configured to output the threshold selection signal.
 6. The apparatus of claim 1, wherein the current control circuit includes a selector having: a selector input configured to receive the threshold selection signal; a first control input configured to receive a first control voltage corresponding to the first current limit; a second control input configured to receive a second control voltage corresponding to the second current limit; and a selector output configured to output either one of the first control voltage when the threshold selection signal indicates the first range of the sensed voltage, or the second control voltage when the threshold selection signal indicates the second range of the sensed voltage.
 7. The apparatus of claim 6, wherein the first control voltage is higher than the second control voltage.
 8. The apparatus of claim 6, wherein the current control circuit includes an amplifier having a non-inverted input coupled to the selector output, an inverting input configured to receive a current sensed voltage indicating the current of the power transistor, and an amplifier output configured to output the control signal.
 9. The apparatus of claim 1, further comprising: the power transistor having the input coupled to receive a supply voltage, the output adapted to be coupled to a load, and a control terminal coupled to the output of the current control circuit for receiving the control signal.
 10. The apparatus of claim 9, further comprising: a hot swap device including the power transistor, the load, and a hot swap control circuit having the voltage sensing circuit and the current control circuit.
 11. An integrated circuit (IC) comprising: a voltage sensing circuit configured to generate a threshold selection signal based on a sensed voltage across an input and an output of a power transistor; and a current control circuit having a control input coupled to receive the threshold selection signal, and a control output configured to output a control signal to limit a current of the power transistor to: a first current limit when the threshold selection signal indicates a first range of the sensed voltage; and a second current limit the threshold selection signal indicates a second range of the sensed voltage, the second current limit is lower than the first current limit, and the second range of the sensed voltage is higher than the first range of the sensed voltage.
 12. The IC of claim 11, wherein the first range of the sensed voltage is less than a reference voltage, and the second range of the sensed voltage is greater than the reference voltage.
 13. The IC of claim 11, wherein the threshold selection signal includes a first value indicating the first range when the sensed voltage is below a reference voltage, and the threshold selection signal includes a second value indicating the second range when the sensed voltage is above the reference voltage.
 14. The IC of claim 11, wherein the current control circuit includes a selector having: a selector input configured to receive the threshold selection signal; a first control input configured to receive a first control voltage corresponding to the first current limit; a second control input configured to receive a second control voltage corresponding to the second current limit; and a selector output configured to output either one of the first control voltage when the threshold selection signal indicates the first range of the sensed voltage, or the second control voltage when the threshold selection signal indicates the second range of the sensed voltage.
 15. The IC of claim 14, wherein the first control voltage is higher than the second control voltage.
 16. The IC of claim 14, wherein the current control circuit includes an amplifier having a non-inverted input coupled to the selector output, an inverting input configured to receive a current sensed voltage indicating the current of the power transistor, and an amplifier output configured to output the control signal.
 17. An integrated circuit (IC) comprising: a voltage sensing circuit configured to generate a threshold selection signal based on a sensed voltage across an input and an output of a power transistor; and a current control circuit having: a selector including a selector output configured to output either one of a first control voltage when the threshold selection signal indicates a first range of the sensed voltage, or a second control voltage when the threshold selection signal indicates a second range of the sensed voltage; and an amplifier including a non-inverted input coupled to the selector output, an inverting input configured to receive a current sensed voltage indicating a current of the power transistor, and an amplifier output configured to output a control signal for limiting the current of the power transistor.
 18. The IC of claim 17, wherein the control signal is configured to limit the current of the power transistor to: a first current limit based on the first control voltage; and a second current limit based on the second control voltage, the second current limit is lower than the first current limit.
 19. The IC of claim 17, wherein the first control voltage is higher than the second control voltage, and the first range of the sensed voltage is lower than the second range of the sensed voltage.
 20. The IC of claim 17, wherein the voltage sensing circuit includes a comparator having a non-inverting input configured to receive a reference voltage, an inverting input configured to receive the sensed voltage, and the output configured to output the threshold selection signal. 